package com.probiz.estore.product.dao.impl;

import java.util.List;

import com.probiz.estore.common.model.product.ProductSkuOptionValue;
import com.probiz.estore.core.dao.impl.HibernateGenericDaoImpl;
import com.probiz.estore.product.dao.ProductSkuOptionValueDao;

/**
 * Dao implementation for ProductSkuOptionValue.
*/
public class ProductSkuOptionValueDaoImpl extends HibernateGenericDaoImpl<ProductSkuOptionValue> implements ProductSkuOptionValueDao {
	public List<ProductSkuOptionValue> getBySkuId(Integer skuId){
		return (List<ProductSkuOptionValue>)findByHql("from ProductSkuOptionValue pv where pv.productSku.productSkuId = ?", skuId);
	}
}
